package com.example.mybatis.mapper;

import java.lang.reflect.Method;
import java.util.List;

public class MapperMethod {
    private String MethodName;

    public MapperMethod() {
    }

    public MapperMethod(String methodName) {
        MethodName = methodName;
    }

    public String getMethodName() {
        return MethodName;
    }

    public void setMethodName(String methodName) {
        MethodName = methodName;
    }
    private MapperClass  refClass;
    public void setRefClass(MapperClass refClass) {
        this.refClass = refClass;
    }

    public MapperClass getRefClass() {
        return refClass;
    }
   private String type;
    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    private Method method;

    public void setMethod(Method method) {
        this.method = method;
    }

    public Method getMethod() {
        return method;
    }
    private Class<?> paramType;
    private Class<?> resultType;

    public Class<?> getResultType() {
        return resultType;
    }

    public void setResultType(Class<?> resultType) {
        this.resultType = resultType;
    }

    public MapperMethod(Class<?> paramType) {
        this.paramType = paramType;
    }

    public Class<?> getParamType() {
        return paramType;
    }

    public void setParamType(Class<?> paramType) {
        this.paramType = paramType;
    }

    private List<MapperSqlTemplate> sqlItemList;
    public void setSqlItemList(List<MapperSqlTemplate> sqlItemList) {
        this.sqlItemList = sqlItemList;
    }

    public List<MapperSqlTemplate> getSqlItemList() {
        return sqlItemList;
    }
    private String sql;
    public void setSql(String sql) {
        this.sql = sql;
    }

    public String getSql() {
        return sql;
    }
    private String resultMap;
    public void setResultMap(String resultMap) {
        this.resultMap = resultMap;
    }

    public String getResultMap() {
        return resultMap;
    }

}
